package com.qdc.datacenters.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;


/**
 * 会话超时规则表(ChatMsgRule)表实体类
 *
 * @author danmo
 * @since 2024-03-18 10:12:11
 */
@Schema
@Data
@SuppressWarnings("serial")
@TableName("chat_msg_rule")
public class ChatMsgRule extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -47538055303826119L;

    /**
     * 主键id
     */

    @Schema(description = "主键id")
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 规则名称
     */
    @Schema(description = "规则名称")
    @TableField("name")
    private String name;


    /**
     * 超时时间
     */
    @Schema(description = "超时时间")
    @TableField("time_out")
    private Integer timeOut;


    /**
     * 会话类型 1-全部 2-客户会话 3-客群会话
     */
    @Schema(description = "会话类型 1-全部 2-客户会话 3-客群会话")
    @TableField("chat_type")
    private Integer chatType;


}

